import { contextBridge, ipcRenderer } from "electron"
import { MIpcRequest } from "@/common/com-interface"


contextBridge.exposeInMainWorld('nativeBridge', {
    send: (response:MIpcRequest) => ipcRenderer.send('rendererSend', response)
})